package entity.domain.topic;

import entity.domain.value.DiscreteValue;
import entity.domain.value.Value;

import java.util.List;

public class DiscreteTopic extends Topic<List> {

    public DiscreteTopic(){}
    public DiscreteTopic(int num, String name){
        this.setType(Type.Discrete);
        this.setNum(num);
        this.setName(name);
    }

    public DiscreteTopic(int num, String name, String description){
        this.setType(Type.Discrete);
        this.setNum(num);
        this.setName(name);
    }

    public DiscreteTopic(int num, String name, List<DiscreteValue> options){
        this.setType(Type.Discrete);
        this.setNum(num);
        this.setName(name);
        this.setOptions(options);
    }

    public DiscreteTopic(int num, String name, List<DiscreteValue> options, String description){
        this.setType(Type.Discrete);
        this.setNum(num);
        this.setName(name);
        this.setOptions(options);
        this.setDescription(description);
    }

    public List getOptions(){
        return this.options;
    }

    public void setOptions(List options){
        this.options = options;
    }
}
